﻿@page "/device/manage"
@using hfcloud.Models

<Table TItem="Device" DataSource="@Devices">
    <PropertyColumn Property="c=>c.Id" Title="序号"></PropertyColumn>
    <PropertyColumn Property="c=>c.Name" Title="设备名称"></PropertyColumn>
    <PropertyColumn Property="c=>c.Location" Title="设备位置"></PropertyColumn>
    <PropertyColumn Property="c=>c.T_name" Title="设备编号"></PropertyColumn>
    <PropertyColumn Property="c=>c.Description" Title="设备描述"></PropertyColumn>
    <PropertyColumn Property="c=>c.Status" Title="设备在线状态"></PropertyColumn>
    <ActionColumn Title="操作">
        <Space Size="@("middle")">
            <Button Type="@ButtonType.Link" Size="@("middle")" >设备详情</Button>
            <Button Type="@ButtonType.Link" Size="@("middle")" >编辑</Button>
            <Button Type="@ButtonType.Link" Size="@("middle")" >配置设备</Button>
            <Button Type="@ButtonType.Link" Size="@("middle")" >配置规则</Button>
            <Button Type="@ButtonType.Link" Size="@("middle")" style="color: #F64646;">删除</Button>
        </Space>
    </ActionColumn>
</Table>